//
//  SLTrace.h
//  SLAdingo
//
//  Created by 徐 廷 on 10/04/30.
//  Copyright 2010 adingo Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

#define SLLog(s,...) [SLTrace logFile:__FILE__ lineNumber:__LINE__ format:(s),##__VA_ARGS__]

@interface SLTrace : NSObject {

}

+ (void) logFile:(char*)sourceFile lineNumber:(int)lineNumber format:(NSString*)format, ...;
+ (void) setLogOn:(BOOL)logOn;

@end
